package com.ha.garbage.model;

import java.io.Serializable;
import java.time.LocalDateTime;

public class News implements Serializable {
    private Long id;
    private String news;
    private String title;
    private String createTime;
    private String updateTime;

    private String summary;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNews() {
        return news;
    }

    public void setNews(String news) {
        this.news = news;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public News() {
    }

    public News(Long id, String news, String title, String createTime, String updateTime, String summary) {
        this.id = id;
        this.news = news;
        this.title = title;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.summary = summary;
    }
}
